public class X implements C{//C中整合了AB接口

    @Override
    public void test() {
        System.out.println("测试x");
    }

    @Override
    public void t1() {

    }

    @Override
    public void t2() {

    }


    @Override
    public void t3() {

    }
}
class Y implements A,B,C{

    @Override
    public void test() {
        System.out.println("测试y");
    }

    @Override
    public void t1() {

    }

    @Override
    public void t2() {

    }

    @Override
    public void t3() {

    }
}